package com.mall.product.domain.entity;

import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品属性值对照对象 pro_product_custom_record_value
 *
 * @author zhonglin
 * @date 2020-05-07
 */
public class ProProductCustomRecordValue
    extends BaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 商品属性值对照id
   */
  private Long productCustomRecordValueId;

  /**
   * 商品id
   */
  @Excel(name = "商品id")
  private Long productId;

  /**
   * 商品自定义档案id
   */
  @Excel(name = "商品自定义档案id")
  private Long customRecordId;

  /**
   * 商品自定义档案值id
   */
  @Excel(name = "商品自定义档案值id")
  private Long customRecordValueId;

  public void setProductCustomRecordValueId(Long productCustomRecordValueId) {

    this.productCustomRecordValueId = productCustomRecordValueId;
  }

  public Long getProductCustomRecordValueId() {

    return productCustomRecordValueId;
  }

  public void setProductId(Long productId) {

    this.productId = productId;
  }

  public Long getProductId() {

    return productId;
  }

  public void setCustomRecordId(Long customRecordId) {

    this.customRecordId = customRecordId;
  }

  public Long getCustomRecordId() {

    return customRecordId;
  }

  public void setCustomRecordValueId(Long customRecordValueId) {

    this.customRecordValueId = customRecordValueId;
  }

  public Long getCustomRecordValueId() {

    return customRecordValueId;
  }

  @Override
  public String toString() {

    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("productCustomRecordValueId", getProductCustomRecordValueId())
                                                                    .append("productId", getProductId())
                                                                    .append("customRecordId", getCustomRecordId())
                                                                    .append("customRecordValueId", getCustomRecordValueId())
                                                                    .toString();
  }

}
